package com.yboot.module.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yboot.module.system.model.entity.SysUserRoleEntity;
import com.yboot.module.system.model.vo.SysRoleVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户和角色关联表
 * @author yangcs
 * @date 2025-08-29
 */
@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRoleEntity> {
    List<SysRoleVo> selectRoleList(String userId);
}